Skip to content

Conversation

@tex3d
Copy link
Contributor

@tex3d tex3d commented Jan 17, 2026

Version print didn't reveal details from available version interfaces, nor did it print file version for DXIL.dll when available.

Changes:

  • Clean up code a bit
  • No longer skip QI for IDxcVersionInfo2 based on build, since that's for implementer, not user.
  • Print CustomVersionString from IDxcVersionInfo3 if available.
  • Remove ifdefs for WIN32 around file/product version calls, because that's handled in the function.
  • Only print product version string if available for dxil.dll, since that's what it does for dxcompiler.dll.
  • Removes old dev build detection (separate commit in PR so it's easy to reverse if desired)
  • Fixes unconditional print of '(dev' as if it's an old dev build on non-Win32 targets
  • Implement IDxcVersionInfo(2,3) in the IDxcCompiler wrapper interface, so it doesn't look like version 1.0
  • Only print version information for external validator when selected
  • Otherwise, don't print info for a validator we found that won't be used
  • Fix dxc version parsing in lit.cfg
  • Skip LitDXILValidation tests when testing compiler output using released validators

tex3d added 5 commits January 16, 2026 17:56
- No longer skip QI for IDxcVersionInfo2 based on build, since that's for implementer, not user.
- Print CustomVersionString from IDxcVersionInfo3 if available.
- Remove ifdefs for _WIN32 around file/product version calls, because that's handled in the function.
- Only print product version string if available for dxil.dll, since that's what it does for dxcompiler.dll.
I don't think this is necessary anymore.
No point printing some dxil module version if not used.

Print it when you set the env var, in which case, the full DXIL path would be printed, so it needs to be less strict about what's immediately before the dxil.dll/libdxil.so name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant